﻿/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
    config.toolbar = 'Full';
    config.resize_enabled = false;
    //config.toolbar = 'Basic';
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
/*
	config.entities = false;
    config.entities_latin = false,
    config.entities_greek = false,
	config.basicEntities = false;
    CKEDITOR.config.basicEntities = false;
    config.ProcessNumericEntities = false;
    config.htmlEncodeOutput = true;
    config.protectedSource = true;
    config.ProcessHTMLEntities=true;
    config.language = 'en';
    
    config.entities_processNumerical = 'force';
    //config.ProtectedSource.Add( /<tex[\s\S]*?\/tex>/g );
    //config.protectedSource.push( /<\#[\s\S]*#\#>/g );
	config.skin = 'kama';
    CKEDITOR.config.entities = false;
    CKEDITOR.config.entities_latin = false;*/   
	config.filebrowserBrowseUrl = 'http://localhost/my_framework/admin/assets/backend/ckfinder/ckfinder.html';
	config.filebrowserImageBrowseUrl = 'http://localhost/my_framework/admin/assets/backend/ckfinder/ckfinder.html?type=Images';
	config.filebrowserFlashBrowseUrl = 'http://localhost/my_framework/admin/assets/backend/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
	config.filebrowserImageUploadUrl = 'http://localhost/my_framework/admin/assets/backend/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
	config.filebrowserFlashUploadUrl = 'http://localhost/my_framework/admin/assets/backend/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';
};
